package org.gap.web.jsf;

import java.util.List;

import org.gap.domain.CaractPM;
import org.gap.domain.Tiers;

/**
 * Spring Component that handles CRUD requests for CaractPM entities
 * 
 */
public interface CaractPMComponent {

	/**
	 * Select the CaractPM entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteCaractPM(Integer cpmTiersKey);

	/**
	 * Get Tiers entity by CaractPM
	 * 
	 */
	public Tiers getCaractPMTiers(Integer cpmTiersKey_1);

	/**
	 * Save an existing CaractPM entity
	 * 
	 */
	public String saveCaractPM(CaractPM caractpm);

	/**
	 * Edit an existing Tiers entity
	 * 
	 */
	public String editCaractPMTiers(Integer caractpm_cpmTiers, Integer related_tiers_tieTiers);

	/**
	 * Getter for variable CaractPM
	 * 
	 */
	public Tiers getTiers();

	/**
	 * View an existing Tiers entity
	 * 
	 */
	public String selectCaractPMTiers(Integer caractpm_cpmTiers_1, Integer related_tiers_tieTiers_1);

	/**
	 * Create a new CaractPM entity
	 * 
	 */
	public String newCaractPM();

	/**
	 * Create a new Tiers entity
	 * 
	 */
	public String newCaractPMTiers(Integer caractpm_cpmTiers_2);

	/**
	 * Delete an existing CaractPM entity
	 * 
	 */
	public String deleteCaractPM(Integer cpmTiersKey_2);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public String deleteCaractPMTiers(Integer caractpm_cpmTiers_3, Integer related_tiers_tieTiers_2);

	/**
	 * Select the child Tiers entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteCaractPMTiers(Integer caractpm_cpmTiers_4, Integer related_tiers_tieTiers_3);

	/**
	 * Select an existing CaractPM entity
	 * 
	 */
	public String selectCaractPM(Integer cpmTiersKey_3);

	/**
	 * Show all CaractPM entities
	 * 
	 */
	public List<CaractPM> listCaractPMs();

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public String saveCaractPMTiers(Integer caractpm_cpmTiers_5, Tiers tiers);

	/**
	 * Getter for variable CaractPM
	 * 
	 */
	public CaractPM getCaractpm();

	/**
	 * Edit an existing CaractPM entity
	 * 
	 */
	public String editCaractPM(Integer cpmTiersKey_4);
}